package com.yunji.framework_template.books.orm.persistence.mapper;

import com.yunji.framework_template.books.orm.persistence.model.BooksType;
import com.yunji.framework_template.common.web.Page;
import java.util.List;

public interface BooksTypeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BooksType record);

    int insertSelective(BooksType record);

    BooksType selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BooksType record);

    int updateByPrimaryKey(BooksType record);

    List<BooksType> selectByCondition(BooksType record);

    List<BooksType> selectAll();

    List<BooksType> selectByPage(Page page);

    Integer count(BooksType record);

    int deleteByCondition(BooksType record);
}